package org.hxyjs.dao;


import org.hxyjs.entity.Festival;
import org.hxyjs.entity.Festival;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface FestivalDao {
    public List<Festival>  getAllFestivals() throws Exception;
    Integer deleteFestivalByFno(String fno) throws Exception;
    Integer updateFestivalByFno(Festival festival) throws Exception;
    Integer addFestival(Festival festival) throws Exception;
    public List<Festival> getFestivalByPage(PageInfo pageInfo) throws Exception;
}
